//
//  YJCycleImage.h
//  16-封装collectionView轮播图
//
//  Created by 冀永金 on 16/8/4.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CyCleCollectionViewcCell;
@protocol YJCycleImageDataSource <NSObject>

- (void)cycleImageWithCollectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath ;
- (void)handleDataWithObject:(NSString *)objc cell:(__kindof  CyCleCollectionViewcCell *)cell;
@end
//collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath

@interface YJCycleImage : UIView
@property (nonatomic, strong) NSArray *array;
@property (nonatomic, strong) NSArray *labelArray;

@property (nonatomic, weak) id<YJCycleImageDataSource>dataSource;
@end
